package com.example.liulin.catchcrazycat;

/**
 * Created by LiuLin on 2017/1/13.
 */

public class Dot {
    int x,y;//坐标
    int status;//状态参数

    public static final int STATUS_ON=1;//开启路障状态
    public static final int STATUS_OFF=0;//灰色可以走
    public static final int STATUS_IN=9;//所在位置


    public Dot(int x, int y) {
        super();
        this.x = x;
        this.y = y;
        status=STATUS_OFF;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }
    public void setXY(int x,int y) {
        this.x=x;
        this.y = y;
    }


}
